package container.impl;

import container.Container;
import container.Context;
import container.Wrapper;
import server.Servlet;

/**
 * @ClassName : StandWrapper
 * @Description : 11
 * @Author : zhangxiaohai
 * @Date: 2021-06-24 17:30
 */
public class StandWrapper implements Wrapper {
    private String className;
    private String servletName;
    private String urlPattern;
    private Servlet servlet;
    private Context context;

    @Override
    public Servlet getServlet() {
        return servlet;
    }

    @Override
    public void setServlet(Servlet servlet) {
        this.servlet = servlet;
    }

    @Override
    public void setUrlPattern(String urlPattern) {
        this.urlPattern = urlPattern;
    }

    @Override
    public String getUrlPattern() {
        return this.urlPattern;
    }

    @Override
    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String getClassName() {
        return this.className;
    }

    @Override
    public void setServletName(String servletName) {
        this.servletName = servletName;
    }

    @Override
    public String getServletName() {
        return this.servletName;
    }

    @Override
    public void setContext(Context context) {
        this.context = context;
    }
}
